<!DOCTYPE html>



  


<html class="theme-next pisces use-motion" lang="zh-Hans">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="theme-color" content="#222">




<script>
    (function(){
        if(''){
            if (prompt('请输入文章密码') !== ''){
                alert('密码错误！');
                history.back();
            }
        }
    })();
  </script>






<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
















  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />







<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.1.4" rel="stylesheet" type="text/css" />



  <link rel="icon" type="image/png" sizes="32x32" href="/favicon.ico?v=5.1.4">







  <meta name="keywords" content="Swift," />





  <link rel="alternate" href="/atom.xml" title="Swift社区" type="application/atom+xml" />






<meta name="description" content="前言本期是 Swift 编辑组自主整理周报的第六期，每个模块已初步成型。各位读者如果有好的提议，欢迎在文末留言。 欢迎投稿或推荐内容。目前计划每两周周一发布，欢迎志同道合的朋友一起加入周报整理。 果然，十一假期与新一轮疫情撞了个满怀，远方的你还好吗？Swift社区愿与你携手，一起尖叫一起笑，一起撑伞一起闹！👊👊👊  周报精选 新闻和社区：iPhone14 车祸检测功能摆乌龙 坐过山车自动报警">
<meta name="keywords" content="Swift">
<meta property="og:type" content="article">
<meta property="og:title" content="Swift 周报 第十五期">
<meta property="og:url" content="https://fanbaoying.github.io/Swift-周报-第十五期/index.html">
<meta property="og:site_name" content="Swift社区">
<meta property="og:description" content="前言本期是 Swift 编辑组自主整理周报的第六期，每个模块已初步成型。各位读者如果有好的提议，欢迎在文末留言。 欢迎投稿或推荐内容。目前计划每两周周一发布，欢迎志同道合的朋友一起加入周报整理。 果然，十一假期与新一轮疫情撞了个满怀，远方的你还好吗？Swift社区愿与你携手，一起尖叫一起笑，一起撑伞一起闹！👊👊👊  周报精选 新闻和社区：iPhone14 车祸检测功能摆乌龙 坐过山车自动报警">
<meta property="og:locale" content="zh-Hans">
<meta property="og:image" content="https://images.xiaozhuanlan.com/photo/2022/03fdd37a55a8a6506c6dccc39ac1855e.jpeg">
<meta property="og:image" content="https://images.xiaozhuanlan.com/photo/2022/9206d54e5b8d1f780b3783c62a438b5a.png">
<meta property="og:image" content="https://images.xiaozhuanlan.com/photo/2022/298cf3a660c84134793cdbfa1886c079.png">
<meta property="og:updated_time" content="2022-11-14T07:54:40.096Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Swift 周报 第十五期">
<meta name="twitter:description" content="前言本期是 Swift 编辑组自主整理周报的第六期，每个模块已初步成型。各位读者如果有好的提议，欢迎在文末留言。 欢迎投稿或推荐内容。目前计划每两周周一发布，欢迎志同道合的朋友一起加入周报整理。 果然，十一假期与新一轮疫情撞了个满怀，远方的你还好吗？Swift社区愿与你携手，一起尖叫一起笑，一起撑伞一起闹！👊👊👊  周报精选 新闻和社区：iPhone14 车祸检测功能摆乌龙 坐过山车自动报警">
<meta name="twitter:image" content="https://images.xiaozhuanlan.com/photo/2022/03fdd37a55a8a6506c6dccc39ac1855e.jpeg">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Pisces',
    version: '5.1.4',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
    fancybox: true,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="https://fanbaoying.github.io/Swift-周报-第十五期/"/>





  <title>Swift 周报 第十五期 | Swift社区</title>
  








</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>
    
    <a href="https://github.com/SwiftCommunityRes" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>
    
    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/"  class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">Swift社区</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle">做最好的 Swift 社区</p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/categories/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br />
            
            分类
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/tags/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            标签
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="/about/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-user"></i> <br />
            
            关于
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            归档
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="https://fanbaoying.github.io/Swift-周报-第十五期/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Swift社区">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="https://avatars.githubusercontent.com/u/84354365?v=4">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Swift社区">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">Swift 周报 第十五期</h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2022-10-17T11:29:52+08:00">
                2022-10-17
              </time>
            

            

            
          </span>

          
            <span class="post-category" >
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/Swift-周报/" itemprop="url" rel="index">
                    <span itemprop="name">Swift 周报</span>
                  </a>
                </span>

                
                
              
            </span>
          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>

                <!-- 
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                -->
                <span title="字数统计">
                  数字统计 2,395字
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>

                <!-- 
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                --> 

                <span title="阅读时长">
                  阅读时长 9分钟
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <h2 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h2><p><strong>本期是 Swift 编辑组自主整理周报的第六期</strong>，每个模块已初步成型。各位读者如果有好的提议，欢迎在文末留言。</p>
<p>欢迎投稿或推荐内容。目前计划每两周周一发布，欢迎志同道合的朋友一起加入周报整理。</p>
<p>果然，十一假期与新一轮疫情撞了个满怀，远方的你还好吗？<strong>Swift社区</strong>愿与你携手，一起尖叫一起笑，一起撑伞一起闹！👊👊👊</p>
<blockquote>
<p><strong>周报精选</strong></p>
<p>新闻和社区：iPhone14 车祸检测功能摆乌龙 坐过山车自动报警</p>
<p>提案：申请将 <code>sleep(for:)</code> 添加到 <code>Clock</code></p>
<p>Swift 论坛：Bug <code>@available</code> 在 <code>literal</code> 初始化中没有效果</p>
<p>推荐博文：<code>async/await</code> 系列代码示例详解</p>
<p><strong>话题讨论：</strong> 面对各厂新一轮裁员，你焦虑了吗？</p>
</blockquote>
<a id="more"></a>
<h2 id="新闻和社区"><a href="#新闻和社区" class="headerlink" title="新闻和社区"></a>新闻和社区</h2><h3 id="Apple-Entrepreneur-Camp-现已开放申请"><a href="#Apple-Entrepreneur-Camp-现已开放申请" class="headerlink" title="Apple Entrepreneur Camp 现已开放申请"></a>Apple Entrepreneur Camp 现已开放申请</h3><p>Apple Entrepreneur Camp 旨在为 App 驱动型组织中的少数群体创业者及开发者提供支持，助力其研发新一代的前沿 App 并开拓全球网络，鼓励这些创业者在技术领域不断探索并取得持续发展。</p>
<p>三组面向女性、黑人以及西班牙裔及拉丁裔创业者的在线课程将在 2023 年 1 月开展，欢迎选择合适的一组提交申请。课程期间，Apple 工程师将为学员提供编程指导，Apple 高层也将作为导师分享见解、启发灵感。申请截止日期为 2022 年 12 月 5 日。</p>
<p><img src="https://images.xiaozhuanlan.com/photo/2022/03fdd37a55a8a6506c6dccc39ac1855e.jpeg" alt=""></p>
<h3 id="iPhone14-车祸检测功能摆乌龙-坐过山车自动报警"><a href="#iPhone14-车祸检测功能摆乌龙-坐过山车自动报警" class="headerlink" title="iPhone14 车祸检测功能摆乌龙 坐过山车自动报警"></a>iPhone14 车祸检测功能摆乌龙 坐过山车自动报警</h3><p>据美国有线电视新闻网等多家媒体报道，近日有游客在携带苹果公司的新款手机 iPhone14 乘坐过山车时，手机会错误检测到遭遇车祸并自动报警。目前在美国游乐园，已发生多起类似事件，而造成这一切的原因是 iPhone14 自带的车祸检测功能存在问题。</p>
<p><img src="https://images.xiaozhuanlan.com/photo/2022/9206d54e5b8d1f780b3783c62a438b5a.png" alt=""></p>
<p>苹果在９月初发布了新款手机 iPhone14，其中一项“车祸检测”新功能颇为引人关注。该功能借助加速度传感器、陀螺仪、麦克风等多种传感器来感知四种碰撞场景，包括正面、侧面、追尾和翻车。一旦检测到车祸，系统会自动弹窗询问机主是否遭遇了紧急情况，在一定时间内若未收到回应，系统将自动报警。</p>
<p>不过，设计人员可能没有考虑到，乘坐过山车与汽车行驶状态容易混淆。据了解，iPhone14 上市以来，在美国多家游乐园的过山车上，都发生过报警乌龙。有的游乐园无奈之下只能提醒游客，坐过山车之前关闭车祸检测功能，或把手机调成飞行模式。(看看新闻Knews)</p>
<h3 id="苹果自研-5G-芯片或要等-2025-年"><a href="#苹果自研-5G-芯片或要等-2025-年" class="headerlink" title="苹果自研 5G 芯片或要等 2025 年"></a>苹果自研 5G 芯片或要等 2025 年</h3><p>此前爆料称，苹果将为未来的 iPhone 开发自主研发的 5G 基带芯片，但据预测，高通仍将是所有 iPhone 15 和 iPhone 16 系列机型的调制解调器供应商，这表明苹果的基带芯片至少要到 2025 年才会亮相。</p>
<p>海通国际证券分析师 Jeff Pu 在周五的研究报告中说，他预计 2024 年发布的 iPhone 机型（暂称 iPhone 16 系列）将使用高通尚未公布的骁龙 X75 调制解调器。与骁龙 X70 一样，X75 预计将基于台积电的 4nm 工艺制造，有助于提高能效。（IT之家)</p>
<h3 id="欧盟批准强制苹果使用-USB-C-接口"><a href="#欧盟批准强制苹果使用-USB-C-接口" class="headerlink" title="欧盟批准强制苹果使用 USB C 接口"></a>欧盟批准强制苹果使用 USB C 接口</h3><p>【欧盟将统一便携智能设备充电接口】据@央视新闻 ，欧洲议会 10 月 4 日通过一项新规，要求从 2024 年底开始，所有手机、平板电脑等便携智能设备新机都使用 USB Type-C 的充电接口。</p>
<p>欧洲议会当天以 602 票赞成、13 票反对的投票结果通过有关统一便携智能设备充电接口的法案。所有手机、平板电脑、数码相机、耳机、便携音箱、手持视频游戏机、电子阅读器、键盘、鼠标和便携式导航系统将在两年内统一充电接口。</p>
<h2 id="提案"><a href="#提案" class="headerlink" title="提案"></a>提案</h2><h3 id="正在审查的提案"><a href="#正在审查的提案" class="headerlink" title="正在审查的提案"></a>正在审查的提案</h3><p><a href="https://github.com/apple/swift-evolution/blob/main/proposals/0375-opening-existential-optional.md" title="SE-0375" target="_blank" rel="noopener">SE-0375</a> <strong>允许非可选非空参数传递给可选类型的参数</strong> 提案正在审查。</p>
<p>在 <a href="https://github.com/apple/swift-evolution/blob/main/proposals/0352-implicit-open-existentials.md" title="SE-0352" target="_blank" rel="noopener">SE-0352</a> 提案中有一个限制，可选类型的参数不允许接受非可选参数。本提案申请更改这个限制，当非可选非空参数传递给可选类型的参数时，允许调用成功。示例代码如下：</p>
<figure class="highlight swift"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line"><span class="function"><span class="keyword">func</span> <span class="title">acceptOptional</span>&lt;T: P&gt;<span class="params">(<span class="number">_</span> x: T?)</span></span> &#123; &#125;</span><br><span class="line"><span class="function"><span class="keyword">func</span> <span class="title">test</span><span class="params">(p: any P, pOpt: <span class="params">(any P)</span></span></span>?) &#123;</span><br><span class="line">  acceptOptional(p) <span class="comment">// SE-0352 does not open "p"; this proposal will open "p" and bind "T" to its underlying type</span></span><br><span class="line">  acceptOptional(pOpt) <span class="comment">// does not open "pOpt", because there is no "T" to bind to when "pOpt" is "nil"</span></span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<p><a href="https://github.com/apple/swift-evolution/blob/main/proposals/0374-clock-sleep-for.md" title="SE-0374" target="_blank" rel="noopener">SE-0374</a> <strong>将 <code>sleep(for:)</code> 添加到 <code>Clock</code></strong> 提案正在审查。</p>
<p>Swift 5.7 中引入的 Clock 协议提供了一种方法来暂停到未来的某个时刻，但没有提供一种方法来休眠一段时间。这与 Task 上的静态 sleep 方法不同，后者提供了一种方法来休眠到某一时刻或一段时间。</p>
<p><a href="https://github.com/apple/swift-evolution/blob/main/proposals/0373-vars-without-limits-in-result-builders.md" title="SE-0373" target="_blank" rel="noopener">SE-0373</a> <strong>取消 <code>result builders</code> 中对变量的所有限制</strong> 提案正在审查。</p>
<p><code>result builders</code> 转换的实现（由 <a href="https://github.com/apple/swift-evolution/blob/main/proposals/0289-result-builders.md" title="SE-0289" target="_blank" rel="noopener">SE-0289</a> 引入）对转换函数中的局部变量声明设置了许多限制。具体来说，局部变量需要有一个初始化表达式，它们不能被计算，它们不能有观察者，它们不能有附加的属性包装器。这些限制在 SE-0289 提案中都没有明确说明，但它们实际上是当前功能的一部分。</p>
<h2 id="Swift论坛"><a href="#Swift论坛" class="headerlink" title="Swift论坛"></a>Swift论坛</h2><p>1) 讨论<a href="https://forums.swift.org/t/should-apple-create-a-simple-programming-language/60746" title="苹果是否应该创造一个简单编程语言" target="_blank" rel="noopener">苹果是否应该创造一个简单编程语言</a></p>
<p>2) <strong>Bug</strong> <a href="https://github.com/apple/swift/issues/61564" title="@available 在 literal 初始化中没有效果" target="_blank" rel="noopener">@available 在 literal 初始化中没有效果</a></p>
<figure class="highlight swift"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br></pre></td><td class="code"><pre><span class="line"><span class="class"><span class="keyword">struct</span> <span class="title">Foo</span> </span>&#123;</span><br><span class="line">    <span class="keyword">let</span> bar: <span class="type">String</span></span><br><span class="line">&#125;</span><br><span class="line"></span><br><span class="line"><span class="meta">@available</span>(*, deprecated)</span><br><span class="line"><span class="class"><span class="keyword">extension</span> <span class="title">Foo</span>: <span class="title">ExpressibleByStringLiteral</span> </span>&#123;</span><br><span class="line">    <span class="keyword">init</span>(stringLiteral value: <span class="type">StringLiteralType</span>) &#123;</span><br><span class="line">        <span class="keyword">self</span>.bar = value</span><br><span class="line">    &#125;</span><br><span class="line">&#125;</span><br><span class="line"></span><br><span class="line"><span class="keyword">let</span> a: <span class="type">Foo</span> = <span class="type">Foo</span>(stringLiteral: <span class="string">""</span>) <span class="comment">// warning: 'init(stringLiteral:)' is deprecated</span></span><br><span class="line"><span class="keyword">let</span> b: <span class="type">Foo</span> = <span class="string">""</span> <span class="comment">// no warning</span></span><br></pre></td></tr></table></figure>
<p>3) 讨论<a href="https://forums.swift.org/t/reconsider-inference-of-global-actor-based-on-property-wrappers/60821" title="重新考虑基于 property wrappers 的全局 actor 推断" target="_blank" rel="noopener">重新考虑基于 property wrappers 的全局 actor 推断</a><br>内容概括：</p>
<p>4) 提问<a href="https://forums.swift.org/t/splitting-information-elements/60835" title="拆分我的信息元素" target="_blank" rel="noopener">拆分我的信息元素</a></p>
<figure class="highlight swift"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">// Foo.swift</span></span><br><span class="line"><span class="comment">//</span></span><br><span class="line"><span class="class"><span class="keyword">class</span> <span class="title">Foo</span> </span>&#123;</span><br><span class="line">    <span class="keyword">var</span> x : <span class="type">Int</span>;</span><br><span class="line"></span><br><span class="line">    <span class="keyword">init</span> ();</span><br><span class="line">    <span class="keyword">init</span> (v: <span class="type">Int</span>);</span><br><span class="line"></span><br><span class="line">    <span class="function"><span class="keyword">func</span> <span class="title">bar</span> <span class="params">()</span></span> -&gt; <span class="type">Int</span>;</span><br><span class="line">    <span class="function"><span class="keyword">func</span> <span class="title">bar</span> <span class="params">(u:Int, v:Int)</span></span> -&gt; <span class="type">Int</span>;</span><br><span class="line">&#125;</span><br><span class="line"></span><br><span class="line"><span class="class"><span class="keyword">extension</span> <span class="title">Foo</span> </span>&#123;</span><br><span class="line">    <span class="keyword">init</span> () &#123;</span><br><span class="line">        ...</span><br><span class="line">    &#125;</span><br><span class="line"></span><br><span class="line">    <span class="keyword">init</span> (v: <span class="type">Int</span>) &#123;</span><br><span class="line">        ...</span><br><span class="line">    &#125;</span><br><span class="line">&#125;</span><br><span class="line"></span><br><span class="line"><span class="class"><span class="keyword">extension</span> <span class="title">Foo</span> </span>&#123;</span><br><span class="line">    <span class="function"><span class="keyword">func</span> <span class="title">bar</span> <span class="params">()</span></span> -&gt; <span class="type">Int</span> &#123;</span><br><span class="line">        ...</span><br><span class="line">    &#125;</span><br><span class="line"></span><br><span class="line">    <span class="function"><span class="keyword">func</span> <span class="title">bar</span> <span class="params">(u:Int, v:Int)</span></span> -&gt; <span class="type">Int</span> &#123;</span><br><span class="line">        ...</span><br><span class="line">    &#125;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<p><strong>解决</strong>使用 <code>convenience</code> 初始化方法, <code>designated</code> 初始化方法必须写在 class 的主体中但 <code>convenience</code> 初始化方法可以在 <code>extension</code> 中使用。</p>
<figure class="highlight swift"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br></pre></td><td class="code"><pre><span class="line"><span class="class"><span class="keyword">class</span> <span class="title">Foo</span> </span>&#123;</span><br><span class="line">    <span class="keyword">var</span> x: <span class="type">Int</span></span><br><span class="line"></span><br><span class="line">    <span class="comment">// Note that this is a designated init because it doesn't have the</span></span><br><span class="line">    <span class="comment">// `convenience` keyword.</span></span><br><span class="line">    <span class="keyword">init</span>() &#123;</span><br><span class="line">        x = <span class="number">0</span></span><br><span class="line">    &#125;</span><br><span class="line">&#125;</span><br><span class="line"></span><br><span class="line"><span class="class"><span class="keyword">extension</span> <span class="title">Foo</span> </span>&#123;</span><br><span class="line">    <span class="keyword">convenience</span> <span class="keyword">init</span>(v: <span class="type">Int</span>) &#123;</span><br><span class="line">        <span class="keyword">self</span>.<span class="keyword">init</span>()</span><br><span class="line">        x = v</span><br><span class="line">    &#125;</span><br><span class="line">&#125;</span><br><span class="line"></span><br><span class="line"><span class="class"><span class="keyword">extension</span> <span class="title">Foo</span> </span>&#123;</span><br><span class="line">    <span class="function"><span class="keyword">func</span> <span class="title">bar</span><span class="params">()</span></span> -&gt; <span class="type">Int</span> &#123;</span><br><span class="line">        <span class="keyword">return</span> x</span><br><span class="line">    &#125;</span><br><span class="line"></span><br><span class="line">    <span class="function"><span class="keyword">func</span> <span class="title">bar</span><span class="params">(u:Int, v:Int)</span></span> -&gt; <span class="type">Int</span> &#123;</span><br><span class="line">        <span class="keyword">return</span> x + u + v</span><br><span class="line">    &#125;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<p>5) 讨论 <a href="https://forums.swift.org/t/iphone-picture-taking-and-lidar-data-acquisition/60799" title="iPhone 拍照和激光雷达数据采集" target="_blank" rel="noopener">iPhone 拍照和激光雷达数据采集</a></p>
<p>6) 讨论<a href="https://forums.swift.org/t/using-mainactor-to-ensure-execution-on-the-main-thread/60764" title="使用 @MainActor 确保在主线程上执行" target="_blank" rel="noopener">使用 @MainActor 确保在主线程上执行</a></p>
<p>7) 讨论 <a href="https://forums.swift.org/t/an-alternative-to-the-switch-statement/60714/10" title="switch 语句的替代方法" target="_blank" rel="noopener">switch 语句的替代方法</a></p>
<p>8) 讨论<a href="https://forums.swift.org/t/accumulating-http-request-body-parts-is-storing-bytebuffer-s-a-good-idea/60813" title="累积 HTTP 请求nody部分：存储 ByteBuffer 是个好主意吗？" target="_blank" rel="noopener">累积 HTTP 请求 body 部分：存储 ByteBuffer 是个好主意吗？</a></p>
<h2 id="推荐博文"><a href="#推荐博文" class="headerlink" title="推荐博文"></a>推荐博文</h2><p><a href="https://mp.weixin.qq.com/s/IA9CgMjZf63_RFwNBB9QqQ" title="Sendable 和 @Sendable 闭包代码实例详解" target="_blank" rel="noopener">Sendable 和 @Sendable 闭包 —— 代码实例详解</a></p>
<p><strong>摘要：</strong> Sendable 和 @Sendable 是 Swift 5.5 中的并发修改的一部分，解决了结构化的并发结构体和执行者消息之间传递的类型检查的挑战性问题。</p>
<p><a href="https://github.com/SwiftCommunityRes/article-ios/blob/main/resource/19+Swift+中的async:await+——代码实例详解.md" title="Swift 中的 async/await —— 代码实例详解" target="_blank" rel="noopener">Swift 中的 async/await —— 代码实例详解</a></p>
<p><strong>摘要：</strong> async-await 是在 WWDC 2021 期间的 Swift 5.5 中的结构化并发变化的一部分。Swift中的并发性意味着允许多段代码同时运行。这是一个非常简化的描述，但它应该让你知道 Swift 中的并发性对你的应用程序的性能是多么重要。有了新的 async 方法和 await 语句，我们可以定义方法来进行异步工作。</p>
<p><a href="https://github.com/SwiftCommunityRes/article-ios/blob/main/resource/20+Swift+AsyncSequence+——+代码实例详解.md" title="Swift AsyncSequence —— 代码实例详解" target="_blank" rel="noopener">Swift AsyncSequence —— 代码实例详解</a></p>
<p><strong>摘要：</strong> <code>AsyncSequence</code> 是并发性框架和 <a href="https://github.com/apple/swift-evolution/blob/main/proposals/0298-asyncsequence.md" title="SE-298" target="_blank" rel="noopener">SE-298</a> 提案的一部分。它的名字意味着它是一个提供异步、顺序和迭代访问其元素的类型。换句话说：它是我们在 Swift 中熟悉的常规序列的一个异步变体。</p>
<p><a href="https://github.com/SwiftCommunityRes/article-ios/blob/main/resource/21+Swift+AsyncThrowingStream+和+AsyncStream+———+代码实例详解.md" title="Swift AsyncThrowingStream 和 AsyncStream ——— 代码实例详解" target="_blank" rel="noopener">Swift AsyncThrowingStream 和 AsyncStream ——— 代码实例详解</a></p>
<p><strong>摘要：</strong> <code>AsyncThrowingStream</code> 和 <code>AsyncStream</code>是 Swift 5.5 中由 <a href="https://github.com/apple/swift-evolution/blob/main/proposals/0314-async-stream.md" title="SE-314" target="_blank" rel="noopener">SE-314</a> 引入的并发框架的一部分。异步流允许你替换基于闭包或 Combine 发布器的现有代码。</p>
<p><a href="https://github.com/SwiftCommunityRes/article-ios/blob/main/resource/22+Swift+中的+MainActor使用和主线程调度.md" title="Swift 中的 MainActor 使用和主线程调度" target="_blank" rel="noopener">Swift 中的 MainActor 使用和主线程调度</a></p>
<p><strong>摘要：</strong> MainActor 是 Swift 5.5 中引入的一个新属性，它是一个全局 actor，提供一个在主线程上执行任务的执行器。在构建应用程序时，在主线程上执行UI更新任务是很重要的，在使用几个后台线程时，这有时会很有挑战性。使用 <code>@MainActor</code> 属性将帮助你确保你的UI总是在主线程上更新。</p>
<h2 id="话题讨论"><a href="#话题讨论" class="headerlink" title="话题讨论"></a>话题讨论</h2><p><strong>面对各厂新一轮裁员，你焦虑了吗？</strong></p>
<p><img src="https://images.xiaozhuanlan.com/photo/2022/298cf3a660c84134793cdbfa1886c079.png" alt=""></p>
<h2 id="关于我们"><a href="#关于我们" class="headerlink" title="关于我们"></a>关于我们</h2><p><strong>Swift社区</strong>是由 Swift 爱好者共同维护的公益组织，我们会分享以 <strong>Swift实战</strong>、<strong>SwiftUl</strong>、<strong>Swift基础</strong>为核心的技术内容，也整理收集优秀的学习资料。</p>
<p>特别感谢 Swift社区 编辑部的每一位编辑，感谢大家的辛苦付出，为 Swift社区 提供优质内容，为 Swift 语言的发展贡献自己的力量。</p>

      
    </div>
    
    
    
    

    
      <div>
        <div>
    
        <div style="text-align:center;color: #ccc;font-size:14px;">-------------本文结束<i class="fa fa-paw"></i>感谢您的阅读-------------</div>
    
</div>

      </div>
    


    
      <div>
        
<div class="my_post_copyright">
  <script src="//cdn.bootcss.com/clipboard.js/1.5.10/clipboard.min.js"></script>

  <!-- JS库 sweetalert 可修改路径 -->
  <script src="https://cdn.bootcss.com/jquery/2.0.0/jquery.min.js"></script>
  <script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
  <p><span>本文标题:</span><a href="/Swift-周报-第十五期/">Swift 周报 第十五期</a></p>
  <p><span>文章作者:</span><a href="/" title="访问 Swift社区 的个人博客">Swift社区</a></p>
  <p><span>发布时间:</span>2022年10月17日 - 11:10</p>
  <p><span>最后更新:</span>2022年11月14日 - 15:11</p>
  <p><span>原始链接:</span><a href="/Swift-周报-第十五期/" title="Swift 周报 第十五期">https://fanbaoying.github.io/Swift-周报-第十五期/</a>
    <span class="copy-path"  title="点击复制文章链接"><i class="fa fa-clipboard" data-clipboard-text="https://fanbaoying.github.io/Swift-周报-第十五期/"  aria-label="复制成功！"></i></span>
  </p>
  <p><span>许可协议:</span><i class="fa fa-creative-commons"></i> <a rel="license" href="https://creativecommons.org/licenses/by-nc-nd/4.0/" target="_blank" title="Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)">署名-非商业性使用-禁止演绎 4.0 国际</a> 转载请保留原文链接及作者。</p>  
</div>
<script> 
    var clipboard = new Clipboard('.fa-clipboard');
      $(".fa-clipboard").click(function(){
      clipboard.on('success', function(){
        swal({   
          title: "",   
          text: '复制成功',
          icon: "success", 
          showConfirmButton: true
          });
        });
    });  
</script>

      </div>
    


    

    
      <div>
        <div style="padding: 10px 0; margin: 20px auto; width: 90%; text-align: center;">
  <div>坚持原创技术分享，您的支持将鼓励我继续创作！</div>
  <button id="rewardButton" disable="enable" onclick="var qr = document.getElementById('QR'); if (qr.style.display === 'none') {qr.style.display='block';} else {qr.style.display='none'}">
    <span>打赏</span>
  </button>
  <div id="QR" style="display: none;">

    
      <div id="wechat" style="display: inline-block">
        <img id="wechat_qr" src="/images/wechat.png" alt="Swift社区 微信支付"/>
        <p>微信支付</p>
      </div>
    

    
      <div id="alipay" style="display: inline-block">
        <img id="alipay_qr" src="/images/alipay.png" alt="Swift社区 支付宝"/>
        <p>支付宝</p>
      </div>
    

    

  </div>
</div>

      </div>
    

    

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/tags/Swift/" rel="tag"><i class="fa fa-tag"></i> Swift</a>
          
        </div>
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/Swift-周报-第十四期/" rel="next" title="Swift 周报 第十四期">
                <i class="fa fa-chevron-left"></i> Swift 周报 第十四期
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/Swift-周报-第十六期/" rel="prev" title="Swift 周报 第十六期">
                Swift 周报 第十六期 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>



    <div class="post-spread">
      
        <!-- JiaThis Button BEGIN -->
<div class="jiathis_style">
<span class="jiathis_txt">分享到：</span>
<a class="jiathis_button_fav">收藏夹</a>
<a class="jiathis_button_copy">复制网址</a>
<a class="jiathis_button_email">邮件</a>
<a class="jiathis_button_weixin">微信</a>
<a class="jiathis_button_qzone">QQ空间</a>
<a class="jiathis_button_tqq">腾讯微博</a>
<a class="jiathis_button_douban">豆瓣</a>
<a class="jiathis_button_share">一键分享</a>

<a href="http://www.jiathis.com/share?uid=2140465" class="jiathis jiathis_txt jiathis_separator jtico jtico_jiathis" target="_blank">更多</a>
<a class="jiathis_counter_style"></a>
</div>
<script type="text/javascript" >
var jiathis_config={
  data_track_clickback:true,
  summary:"",
  shortUrl:false,
  hideMore:false
}
</script>
<script type="text/javascript" src="http://v3.jiathis.com/code/jia.js?uid=" charset="utf-8"></script>
<!-- JiaThis Button END -->
      
    </div>
  </div>


          </div>
          


          

  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
            
              <img class="site-author-image" itemprop="image"
                src="https://avatars.githubusercontent.com/u/84354365?v=4"
                alt="Swift社区" />
            
              <p class="site-author-name" itemprop="name">Swift社区</p>
              <p class="site-description motion-element" itemprop="description">我们的使命是做一个最专业最权威的 Swift 中文社区，我们的愿景是希望更多的人学习和使用Swift。我们会分享以 Swift 实战、SwiftUI、Swift 基础为核心的技术干货，不忘初心，牢记使命。</p>
          </div>

          <nav class="site-state motion-element">

            
              <div class="site-state-item site-state-posts">
              
                <a href="/archives/">
              
                  <span class="site-state-item-count">187</span>
                  <span class="site-state-item-name">日志</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-categories">
                <a href="/categories/index.html">
                  <span class="site-state-item-count">19</span>
                  <span class="site-state-item-name">分类</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-tags">
                <a href="/tags/index.html">
                  <span class="site-state-item-count">11</span>
                  <span class="site-state-item-name">标签</span>
                </a>
              </div>
            

          </nav>

          
            <div class="feed-link motion-element">
              <a href="/atom.xml" rel="alternate">
                <i class="fa fa-rss"></i>
                RSS
              </a>
            </div>
          

          
            <div class="links-of-author motion-element">
                
                  <span class="links-of-author-item">
                    <a href="https://blog.csdn.net/qq_36478920" target="_blank" title="CSDN">
                      
                        <i class="fa fa-fw fa-heartbeat"></i>CSDN</a>
                  </span>
                
                  <span class="links-of-author-item">
                    <a href="https://juejin.im/user/5a30d987f265da430d580126" target="_blank" title="掘金">
                      
                        <i class="fa fa-fw fa-spinner"></i>掘金</a>
                  </span>
                
                  <span class="links-of-author-item">
                    <a href="https://github.com/fanbaoying" target="_blank" title="GitHub">
                      
                        <i class="fa fa-fw fa-github"></i>GitHub</a>
                  </span>
                
                  <span class="links-of-author-item">
                    <a href="https://www.zhihu.com/people/swift-community" target="_blank" title="知乎">
                      
                        <i class="fa fa-fw fa-heartbeat"></i>知乎</a>
                  </span>
                
                  <span class="links-of-author-item">
                    <a href="https://weibo.com/u/7711465033" target="_blank" title="微博">
                      
                        <i class="fa fa-fw fa-weibo"></i>微博</a>
                  </span>
                
                  <span class="links-of-author-item">
                    <a href="https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzAxNzgzNTgwMw==&action=getalbum&album_id=2024314764775981057" target="_blank" title="公众号">
                      
                        <i class="fa fa-fw fa-heartbeat"></i>公众号</a>
                  </span>
                
            </div>
          

          
          

          
          
            <div class="links-of-blogroll motion-element links-of-blogroll-block">
              <div class="links-of-blogroll-title">
                <i class="fa  fa-fw fa-link"></i>
                友情链接
              </div>
              <ul class="links-of-blogroll-list">
                
                  <li class="links-of-blogroll-item">
                    <a href="https://github.com/SwiftCommunityRes/SwiftWeekly" title="SwiftWeekly" target="_blank">SwiftWeekly</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://github.com/SwiftCommunityRes/article-ios" title="Article-ios" target="_blank">Article-ios</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://github.com/SwiftCommunityRes/SwiftUI-Book" title="SwiftUI-Book" target="_blank">SwiftUI-Book</a>
                  </li>
                
              </ul>
            </div>
          

          

        </div>
      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#前言"><span class="nav-number">1.</span> <span class="nav-text">前言</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#新闻和社区"><span class="nav-number">2.</span> <span class="nav-text">新闻和社区</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#Apple-Entrepreneur-Camp-现已开放申请"><span class="nav-number">2.1.</span> <span class="nav-text">Apple Entrepreneur Camp 现已开放申请</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#iPhone14-车祸检测功能摆乌龙-坐过山车自动报警"><span class="nav-number">2.2.</span> <span class="nav-text">iPhone14 车祸检测功能摆乌龙 坐过山车自动报警</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#苹果自研-5G-芯片或要等-2025-年"><span class="nav-number">2.3.</span> <span class="nav-text">苹果自研 5G 芯片或要等 2025 年</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#欧盟批准强制苹果使用-USB-C-接口"><span class="nav-number">2.4.</span> <span class="nav-text">欧盟批准强制苹果使用 USB C 接口</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#提案"><span class="nav-number">3.</span> <span class="nav-text">提案</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#正在审查的提案"><span class="nav-number">3.1.</span> <span class="nav-text">正在审查的提案</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#Swift论坛"><span class="nav-number">4.</span> <span class="nav-text">Swift论坛</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#推荐博文"><span class="nav-number">5.</span> <span class="nav-text">推荐博文</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#话题讨论"><span class="nav-number">6.</span> <span class="nav-text">话题讨论</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#关于我们"><span class="nav-number">7.</span> <span class="nav-text">关于我们</span></a></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<div class="copyright">&copy; <span itemprop="copyrightYear">2024</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">Swift社区</span>

  
</div>

<!-- 
<div class="powered-by">
  <i class="fa fa-user-md">
  </i>
  <span id="busuanzi_container_site_uv">
    已有<span id="busuanzi_value_site_uv"></span>人来访
  </span>

</div>


  <span class="post-meta-divider">|</span>


<div class="powered-by">
  <i class="fa fa-eye"></i>
  <span id="busuanzi_container_site_pv">
      访问量<span id="busuanzi_value_site_pv"></span>次
  </span>
</div>



  <span class="post-meta-divider">|</span>


-->

<div class="theme-info">
  <i class="fa fa-pencil"></i>
  <span class="post-count">博客全站共361.6k字</span>
</div>


<!-- 
  <span class="post-meta-divider">|</span>



  <div class="powered-by">由 <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a> 强力驱动</div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">主题 &mdash; <a class="theme-link" target="_blank" href="https://github.com/iissnan/hexo-theme-next">NexT.Pisces</a> v5.1.4</div>



-->

        







        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  












  
  
    <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
  

  
  
    <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
  


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.4"></script>



  
  


  <script type="text/javascript" src="/js/src/affix.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/schemes/pisces.js?v=5.1.4"></script>



  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.4"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.4"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.4"></script>



  


  




	





  





  












  





  

  

  

  
  

  

  

  

</body>
</html>
